package leetcode;

import java.util.Stack;

public class MinStack {

    private Stack<Integer> stackA;
    private Stack<Integer> stackB;

    /**
     * initialize your data structure here.
     */
    public MinStack() {
        this.stackA = new Stack<>();
    }

    public void push(int x) {

    }

    public void pop() {
        this.stackA.pop();
    }

    public int top() {
        return this.stackA.peek();
    }

    public int min() {
        return stackB.peek();
    }

    public static void main(String[] args) {
        Stack<Integer> stack = new Stack<>();
        System.out.println(stack.peek());
    }
}
